Repository navigation
Route endpoints Egeria removed to their replacements, deprecated (ISSUE-165) - #485
Merged
Merged
Conversation
…UE-165) Per the Egeria team (Mandy Chessell, 2026-10-23), each obsolete method now warns (DeprecationWarning) and delegates, following the ISSUE-153 pattern: - analysis reports -> SurveyReport assets via AssetMaker (SurveyReport now inherits from Report); link/detach -> ReportSubject (link/unlink_report_subject). - add/remove_element_to/from_subject_area -> CollectionManager membership on the subject area (SubjectArea now inherits from Collection); new optional subject_area_guid, without which they raise an error naming the replacement. - find_governance_action_processes -> find_governance_definitions for type GovernanceActionProcess (now a GovernanceDefinition). - get_gov_def_in_context -> get_governance_definition_by_guid (context is returned by default); Dr.Egeria View Governance Definition Context too. - data classifications -> data value specifications and DataValueAssignment (a best-effort mapping; the Egeria team was not certain). 8 micro-tests; two generic by-name tests no longer list the delegating DataDiscovery wrapper (its target is listed). Not verified live: Egeria was being reset. Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
6.2.10 documented 17 SDK methods that call endpoints Egeria no longer serves (ISSUE-165). The Egeria team (Mandy Chessell) named the replacements. Each obsolete method is now a deprecated wrapper (
DeprecationWarning) that delegates to its replacement, following the ISSUE-153 pattern, so existing callers keep working. Removal is planned for a later release.DataDiscoveryanalysis-report create/update/delete/get/find (8 methods)AssetMakerasset calls with typeSurveyReport(SurveyReport now inherits from Report). A body namingAnalysisReportPropertiesis rewritten toSurveyReportProperties.link/detach_analysis_report_to/from_assetAssetMaker.link_report_subject/unlink_report_subject(ReportSubject)ClassificationExplorer.add/remove_element_to/from_subject_areaCollectionManagermembership (SubjectArea is now a Collection). New optionalsubject_area_guid; without it the call raises an error naming the replacement.GovernanceOfficer.find_governance_action_processesfind_governance_definitions(metadata_element_type="GovernanceActionProcess")GovernanceOfficer.get_gov_def_in_contextget_governance_definition_by_guid, which returns the context by default. Dr.Egeria'sView Governance Definition Contextnow calls it directly.DataDesignerdata-classification create/update/link/detachlink/detach_data_value_assignment. Best-effort mapping: Mandy expected this but wasn't certain.Still open:
get_platform_organization(removed upstream in816076ab50; no replacement named).Test plan
tests/micro-tests/test_issue165_replacements.py(8). DataDiscovery entries were removed from two generic by-name tests, because those methods now delegate to AssetMaker.omvs_audit.py: JAVA-MISSING is down to 4:get_platform_organizationand 3 known false positives.pyeg-test::issue165::elements; all 5 deleted and read back as NotFound:SurveyReportand found by get and find. ReportSubject is present after link and gone after detach.DataClass. It is in the field'sassignedDataValueSpecificationsafter link and gone after detach.Details:
PYEGERIA_ISSUES.mdISSUE-165.🤖 Generated with Claude Code